<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:74:"D:\phpStudy\WWW\mangmeshi/./application/admin\view\circle\circle_info.html";i:1531049730;}*/ ?>
<div>
    <form class="form-horizontal bv-form"  role="form" >
        <fieldset>
            <legend>基本信息</legend>
            <div class="form-group">
                <label class="col-sm-3 control-label">发布者</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled value="<?php echo $data['user_username']; ?>">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">发布者号码</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled  value="<?php echo $data['user_phone']; ?>">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">动态内容</label>
                <div class="col-sm-6">
                    <textarea class="form-control" cols="35" rows="5" disabled><?php echo $data['circle_content']; ?></textarea>
                </div>
            </div>
            <!--TODO 图片 最多九张-->
            <div class="form-group">
                <label class="col-sm-3 control-label">动态图片</label>
                <div class="col-sm-6">
                    <?php if(!$data['circle_image']): ?>暂无图片<?php endif; ?>
                </div>
            </div>
            <?php if($data['circle_image']): ?>
            <div style="width: 100%;">
                <?php if(is_array($data['circle_image']) || $data['circle_image'] instanceof \think\Collection): $i = 0; $__LIST__ = $data['circle_image'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$img): $mod = ($i % 2 );++$i;?>
                <img src="<?php echo $img; ?>" alt="" style="width: 30%;height: auto;margin-left: 2%;margin-bottom: 10px;"/>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <?php endif; if($data['circle_url']): ?>
            <div class="form-group">
                <label class="col-sm-3 control-label">动态视频</label>
                <div class="col-sm-6">
                    <video src="<?php echo $data['circle_url']; ?>" controls="controls" width="100%"></video>
                </div>
            </div>
            <?php endif; ?>
            <!--end-->
            <div style="clear: both;height: 10px;"></div>
            <div class="form-group">
                <label class="col-sm-3 control-label">留言数</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled  value="<?php echo $data['circle_message']; ?>">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">点赞数</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled  value="<?php echo $data['circle_zan']; ?>">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">发布时间</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled  value="<?php echo $data['circle_createtime']; ?>">
                </div>
            </div>

        </fieldset>
    </form>
</div>